﻿using System.IO;
using System.Net;
using System.Text;

namespace KPIS.GERP.GAMS.APP.App_UI.Commons
{
    public class cCreateFile
    {
        private FileInfo fileTran;
        public void CreateFileCSV(string pFileTran, object pObj)
        {
            Encoding enWrite = Encoding.Default;
            try
            {
                fileTran = new FileInfo(pFileTran);
                if (fileTran.Exists == true)
                {
                   //FileSystemInfo.
                }
                StreamWriter sw = new StreamWriter(pFileTran, false, enWrite);
                int intCol = pObj.ToString().Length;
                


            }
            catch
            {
            }
            finally
            {
            }

        }
    }
}
